<template>
  <div>
    <el-row type="flex" align="center" justify="space-between">
      <div v-if="$slots.before" class="before">
        <slot name="before"></slot>
      </div>
      <div>
        <slot name="center"></slot>
      </div>
      <div>
        <slot name="after"></slot>
      </div>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'pageTools',
  created() {
    //判断插槽   this.$slots
    this.$slots
  }
}
</script>